package com.echo.register.hosp.repository;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.echo.register.model.hosp.Department;
import com.echo.register.vo.hosp.DepartmentQueryVo;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

/**
 * @ClassName: DepartmentRepository
 * @Package: com.echo.register.hosp.repository
 * @Description:
 * @Author 谢同学
 * @Create 2023/12/20 10:33
 * @Version 1.0
 */
@Repository
public interface DepartmentRepository extends MongoRepository<Department,String> {
    /**
     * 查询科室信息
     * @param hoscode 医院编号
     * @param depcode 科室编号
     */
    Department getDepartmentByHoscodeAndDepcode(String hoscode, String depcode);


}
